#{extends 'nui.html' /}
#{set title:'用户登录' /}
#{set 'moreStyles'}
<link rel="stylesheet" media="screen" href="@{'/public/stylesheets/login.css'}" />
#{/set}
<div id="centerBox">
	<img style='padding:10px 20px' src='@{'/public/images/logo_png.png'}' />
	<div class="formBlock floatLeft">
		<div class="formBlockInner">
			<div class="formBlockTitle tc f15">用户登录</div>
			<form id="loginForm" method="post" action="/doLogin">
				#{authenticityToken/}
				<div style="padding:20px 0;">
					#{if msg}
					<div class="errBox">${msg}</div>
					#{/if}
					<div class="panelLine sec clearfix">
						<input type="text" name="nick"  class="inputText floatLeft ls long required" id="nick" placeholder="昵称"/>
					</div>
					<div class="panelLine sec clearfix" style='margin-top:15px'>
						<input type="password" name="pass" class="inputText floatLeft ls long required" id="pass" placeholder="密码"/>
					</div>
					<div class="clearfix">
					</div>
					<div class="panelLine sec" id="captchaimage" style="display:none">
						<input type="text" name="captcha" class="inputText floatLeft ls short" id="captcha" style="width:100px">
						<span class="ls floatLeft">
							<a href="#" id="refreshimg" title="点击换一张">
								<img src="" width="100" height="46" />
							</a>
						</span>
					</div>
						
						<p style='margin-top:15px;'><a href="javascript:;" class="login_button" id="btnLogin">登 录</a></p>
						<p style='text-align:right;padding-right:15px;padding-top:15px;'><a href="/findPass" class="jumpLink  f12" id="lnkForget">忘记密码?</a></p>
						<p style='text-align:center;margin-top:15px;'><a href="/regist" style='color:#999'>买手注册</a> &nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp; <a href="/registsj" style='color:#999'>商家注册</a></p>
				
				</div>
			</form>
		</div>
	</div>
	<div class="clearFix"></div>
</div>
<script src="http://cdn.staticfile.org/jquery/1.8.3/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
	$(function(){
		 if(navigator.userAgent.indexOf("chrome")<=0 & navigator.userAgent.indexOf("Safari")<=0) {  
		        alert("您的浏览器类型不是谷歌/苹果浏览器,建议使用谷歌/苹果浏览器")  
		   }  
	})
</script>
#{set 'moreScripts'}
<script src="@{'/public/javascripts/user/login.js'}" type="text/javascript"></script>
#{/set}